import Home from '../pages/Home'
import About from '../pages/About'
import Child1 from '../pages/Child1'
const routes = [
    {
        path: '/',
        exact: true,
        component: Home,
    },
    {
        path: '/about',
        component: About,
        children: [
            {
                path: '/about/child',
                component: Child1
            }
        ]
    }
]

export default routes